## 模板3
DefaultEnvironment(PROGSUFFIX = '.out') # 可知程序后缀为.out
ccflags = "-g3 -O0 -Wall"       # gdb 调试
libs = ["pthread"] # 链接库

mosquitto_libs_flags = ["-lmosquittopp"]
libs += mosquitto_libs_flags
Program("1_mosquittopp_subscrible订阅.cc", CCFLAGS=ccflags, LIBS=libs)
Program("2_mosquittopp_publish发布.cc", CCFLAGS=ccflags, LIBS=libs)
Program("3_mosquittopp_订阅发布.cc", CCFLAGS=ccflags, LIBS=libs)